package com.wzy.service;

import com.wzy.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @auth wzy
 * @date 2023/10/14 15:19
 */
//@Component("userService")
@Service
public class UserService {

    @Autowired
//    @Qualifier("userDao")
//    @Resource
    private UserDao userDao;

    public int add() throws RuntimeException{
//        int i = 1/0;
        return userDao.add();
    }
}
